﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Vara.Person
{
    public interface IPerson
    {
        /// <summary>
        /// Gets the unique identifier of the current <code>Vara.Person.IPerson</code> object. <code>0</code> for new records.
        /// </summary>
        int ID { get; }

        /// <summary>
        /// Gets or sets the Firstname of the current <code>Vara.Person.IPerson</code> object.
        /// </summary>
        string Firstname { get; set; }

        /// <summary>
        /// Gets or sets the Lastname of the current <code>Vara.Person.IPerson</code> object.
        /// </summary>
        string Lastname { get; set; }

        /// <summary>
        /// Gets or sets the Reference of the current <code>Vara.Person.IPerson</code> object.
        /// </summary>
        string Reference { get; set; }
        string Address1 { get; set; }
        string Address2 { get; set; }
        string Address3 { get; set; }
        string Postcode { get; set; }
        string TelephoneNumber { get; set; }
        string EmailAddress { get; set; }
        string TypeName { get; }
        /// <summary>
        /// Gets a value indicating whether of the current <code>Vara.Person.IPerson</code> object can be modified.
        /// </summary>
        bool IsReadOnly { get; }
    }
}
